html,
body {
  overflow-x: hidden;
  /* bloque le scroll horizontal */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
  -ms-overflow-style: none;
  /* IE & Edge */
  scrollbar-width: none;
  /* Firefox */
  background-color: #ffffff;
  font-family: 'Orbitron', sans-serif;
  color: #333;
  margin: 0;

}

/* Colonne gauche (logo) */
.header-left {
  flex: 1;
  display: flex;
  align-items: center;
}

/* Colonne centrale (menu) */
.header-center {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Colonne droite (bouton Connexion) */
.header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}


.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 160px;
  padding: 0 3rem;
  background-color: #121212;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  font-family: 'Segoe UI', sans-serif;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
}

/* Image du logo */
.logo-img {
  height: 80%;
  max-height: 400px;
  object-fit: contain;
}

/* Menu de navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}


.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00d1b2;
}



/* Bouton Connexion */
.login-button {
  padding: 0.6rem 1.2rem;
  background-color: #540886;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.login-button:hover {
  background-color: #a00070;
}

.banner {
  position: relative;
  width: 100%;
  height: 550px;
  /* comme ton exemple */
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%) contrast(1.1);
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  font-family: 'Orbitron', sans-serif;
}

.banner-text h2 {
  color: #ffffff;
  margin: 0;
  font-size: 3em;
  margin-bottom: 0.5rem;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;

}

.banner-text p {
  color: #dfdfdf;
  margin: 1rem 0 0;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.4rem;
}

.product-intro {
  text-align: center;
  padding: 2rem 1rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
  margin-top: 70px;
  margin-bottom: 50px;

}

.product-intro h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 10px;
  margin-top: 5rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 45px;
}

.product-intro p {
  font-size: 1.4rem;
  color: #666;
  font-family: 'Segoe UI', 'Sans-serif';

}

h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: bold;
}

.cards {
  max-width: 1400px;
  margin: auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 60px;
  justify-content: center;
}

.card {
  background: #dbdbdb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 5px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: 320px;
  /* fixe une hauteur identique */
  object-fit: cover;
  /* recadre proprement */
  display: block;
}




.card-content {
  padding: 20px;
  text-align: center;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: bold;


}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
  font-family: 'Segoe UI', 'Sans-serif';
  font-size: 15px;

}

.card a {
  color: inherit;
  /* garde la couleur du texte du parent */
  text-decoration: none;
  /* supprime le soulignement */
  display: block;
  /* rend tout le lien cliquable */
}

.card a:hover {
  text-decoration: none;
  /* évite que le soulignement revienne au survol */
  color: inherit;
  /* empêche le texte de changer de couleur */
}


.quick-access {
  text-align: center;
  padding: 3rem 1rem;
  font-family: 'Orbitron', sans-serif;
  margin-top: 170px;
}

.quick-access h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #000000;
  letter-spacing: 1px;
}

.quick-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.quick-btn {
  padding: 0.8rem 1.5rem;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.3s, transform 0.2s;
  font-family: 'Segoe UI', sans-serif;
  margin: 1rem 0 0;
  border: 1px, solid transparent;
  margin-left: 30px;



}

.quick-btn:hover {
  background-color: #fff;
  color: #000;
  border-color: #000;
  /* <- Ajout de la bordure noire */
}

.about-section {
  background-color: #0a0a0a;
  color: #fff;
  padding: 4rem 2rem;
  font-family: 'Orbitron', sans-serif;
  margin-top: 250px;
}

.about-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin-left: 50px;
  gap: 2rem;
  flex-wrap: wrap;
  /* pour le responsive */
}

.about-text {
  flex: 1.2;
}

.about-text h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  letter-spacing: 1px;

}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #ccc;
  font-family: 'Segoe UI', sans-serif;
  letter-spacing: 0, 5px;

}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
  object-fit: cover;
}

.social-section {
  text-align: center;
  padding: 0, 8rem 3rem;
  background-color: #ffffff;
  margin-top: 8rem;
}

.social-section h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  color: #000000;
  margin-bottom: 5rem;
  margin-top: 3rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
  margin-bottom: 4rem;
}

.social-card {
  display: flex;
  background-color: rgb(179, 179, 179);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #121212;
  padding: 1rem 1.5rem;
  width: 100%;
  max-width: 4500px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-items: center;
  margin-right: 30px;
}

.social-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.icon-box {
  width: 50px;
  height: 50px;
  border: 2px solid #000000;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  background-color: #ffffff;
}

.icon-box img {
  width: 28px;
  height: 28px;
}

.social-card span {
  font-size: 1.2rem;
  font-family: 'Segoe UI', sans-serif;
}

/* ========================= */
/* 🌐 Responsive Design */
/* ========================= */

/* --- Tablettes et petits écrans --- */
@media (max-width: 1024px) {
  .site-header {
    flex-direction: column;
    height: auto;
    text-align: center;
    padding: 1rem;
  }

  .logo-img {
    max-height: 120px;
    margin-bottom: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .header-right {
    margin-top: 1rem;
  }

  .banner {
    height: 400px;
  }

  .banner-text h2 {
    font-size: 2rem;
  }

  .banner-text p {
    font-size: 1.1rem;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-content {
    flex-direction: column;
    margin-left: 0;
    text-align: center;
  }

  .about-image {
    max-width: 90%;
  }

  .quick-buttons {
    flex-direction: column;
  }

  .social-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .social-card {
    max-width: 100%;
    margin: 0 auto;
  }
}

/* --- Smartphones --- */
@media (max-width: 600px) {
  body {
    font-size: 0.9rem;
  }

  .site-header {
    height: 80px;
    /* Hauteur réduite du header */
    padding: 0 1rem;
    overflow: visible;
    /* Laisse le logo dépasser */
    position: relative;
  }

  .logo-img {
    max-height: 400px;
    /* ton logo peut rester grand */
    height: auto;
    margin-top: -160px;
    /* ajuste pour centrer visuellement le logo */
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .banner {
    height: 300px;
  }

  .banner-text h2 {
    font-size: 1.5rem;
  }

  .banner-text p {
    font-size: 1rem;
  }

  .product-intro h2 {
    font-size: 1.8rem;
  }

  .product-intro p {
    font-size: 1rem;
  }

  .cards {
    grid-template-columns: 1fr;
    /* ✅ une seule carte par ligne */
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .card {
    width: 100%;
    margin: 0 auto;
  }

  .card img {
    height: auto;
    /* ✅ pour éviter les déformations */
  }

  .quick-btn {
    width: 80%;
    font-size: 1rem;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .about-text p {
    font-size: 0.95rem;
  }

  .social-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .icon-box {
    margin: 0 0 1rem 0;
  }

  .social-card span {
    font-size: 1rem;
  }


  /* ======== MENU BURGER ======== */
  .menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    height: 3px;
    background-color: white;
    border-radius: 5px;
    transition: 0.3s ease;
  }

  /* Animation croix quand ouvert */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* --- Responsive (max 900px) --- */

@media (max-width: 900px) {

  .site-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: auto;
    padding: 1rem;
    position: relative;
  }

  .logo-img {
    max-width: 300px;
    height: auto;
    margin: 10px auto;
  }

  .menu-toggle {
    display: flex;
    position: absolute;
    right: 20px;
    top: 25px;
    z-index: 1000;
    cursor: pointer;
  }

  .header-center {
    width: 100%;
  }

  /* ======= Menu caché par défaut ======= */
  .nav-links {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #121212;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid #333;
    gap: 1rem;
  }

  /* ======= Quand le menu est ouvert ======= */
  .nav-links.show {
    display: flex;
  }

  /* ✅ 3 liens par ligne bien centrés */
  .nav-links li {
    flex: 1 1 28%;
    min-width: 100px;
  }

  .nav-links a {
    display: inline-block;
    width: 100%;
    background-color: #1e1e1e;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.8rem 0;
    border-radius: 8px;
    transition: background-color 0.3s ease;
  }

  .nav-links a:hover {
    background-color: #540886;
  }

  /* On centre le bouton connexion sous le menu */
  .header-right {
    display: none;
    margin-top: 1rem;
  }
}

.login-button {
  width: auto;
  /* pour ne pas étirer le bouton */
  padding: 0.6rem 1.2rem;
}